﻿<Window x:Class="TorchView.Windows.MessageBox" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MessageBox" Style="{StaticResource DialogWindowStyle}" WindowStartupLocation="CenterOwner" MaxWidth="600">
  <Grid Margin="7">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="Auto" />
      <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <Image Name="MessageImage" Width="48" Height="48" Stretch="Uniform" VerticalAlignment="Center" HorizontalAlignment="Center" />
    <TextBlock Name="MessageBlock" Grid.Column="1" Margin="7,0,0,0" VerticalAlignment="Center" TextWrapping="Wrap" />
    <StackPanel Orientation="Horizontal" Grid.Row="1" Grid.ColumnSpan="2" HorizontalAlignment="Right">
      <Button Name="YesButton" Visibility="Collapsed" HorizontalAlignment="Right" Margin="0,7,0,0" Click="YesButton_Click" />
      <Button Name="NoButton" Visibility="Collapsed" HorizontalAlignment="Right" Margin="7,7,0,0" Click="NoButton_Click" />
      <Button Name="CancelButton" Visibility="Collapsed" IsCancel="True" HorizontalAlignment="Right" Margin="7,7,0,0" Click="CancelButton_Click" />
    </StackPanel>
  </Grid>
</Window>
